class Ticket:
    id = 0
    secrtkey = ""
    number = ""
    trainCode = ""
    isMore = ""
    secondClass = 0
    firstClass = 0
    zeroClass = 0
    time = ""

    def __init__(self,secrtkey,number,trainCode,isMore,secondClass,firstClass,zeroClass, time):
        self.secrtkey = secrtkey
        self.number = number
        self.trainCode = trainCode
        self.isMore = isMore
        self.secondClass = secondClass
        self.firstClass = firstClass
        self.zeroClass = zeroClass
        self.time = time
